package ernie.pages;

import java.util.Date;

/**
 * @author Filip Lindqvist <buggfille@gmail.com>
 * @created 6:51:39 PM - Nov 11, 2011
 */
public class DummyPage implements Page {

    @Override
    public String getContent() {
        StringBuilder sb = new StringBuilder();
        sb.append("<html>");

        sb.append("<head>");
        sb.append("</head>");

        sb.append("<body>");

        sb.append("<h1>").append("Dummy").append("</h1>");
        sb.append(new Date().toString());
        sb.append("</body>");

        sb.append("</html>");

        return sb.toString();
    }

    @Override
    public String file() {
        return "dummy.html";
    }
}
